const { generateService } = require("@umijs/openapi");

generateService({
  // 改成我们自己封装的请求库，在src的libs目录下
  requestLibPath: "import request from '@/libs/request'",
  // 这里请求的接口文档也需要调整
  schemaPath: "http://localhost:8101/api/v2/api-docs",
  serversPath: "./src",
});
